﻿using System;


/// <summary>
/// T_Purchase 的摘要说明
/// </summary>
namespace Product
{
    public class TPurchase
    {
        #region Model
        private int _id;
        private int _userid;
        private string _IsUser;
        private string _indtype;
        private string _name;
        private string _key;
        private string _info;
        private string _picture_1;
        private string _picture_2;
        private string _picture_3;
        private DateTime _startdate;
        private DateTime _enddate;
        private string _brand;
        private string _model;
        private DateTime _adddate;
        private int _verify;
        private bool _recommend;
        private string _obligate;
        private string _unit;
        private int _count;
        private Double _price;
        private string _thumbnail;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 是否会员
        /// </summary>
        public string IsUser
        {
            set { _IsUser = Base.Common.FilterHtml(value); }
            get { return _IsUser; }
        }
        /// <summary>
        /// 行业分类
        /// </summary>
        public string IndType
        {
            set { _indtype = Base.Common.FilterHtml(value); }
            get { return _indtype; }
        }
        /// <summary>
        /// 商机名称
        /// </summary>
        public string Name
        {
            set { _name = Base.Common.FilterHtml(value); }
            get { return _name; }
        }
        /// <summary>
        /// 关键字
        /// </summary>
        public string Key
        {
            set { _key = Base.Common.FilterHtml(value); }
            get { return _key; }
        }
        /// <summary>
        /// 详细说明
        /// </summary>
        public string Info
        {
            set { _info = Base.GetRequest.RemoveHTMLForEditor(value); }
            get { return _info; }
        }
        /// <summary>
        /// 图1
        /// </summary>
        public string Picture_1
        {
            set { _picture_1 = Base.Common.FilterHtml(value); }
            get { return _picture_1; }
        }
        /// <summary>
        /// 图2
        /// </summary>
        public string Picture_2
        {
            set { _picture_2 = Base.Common.FilterHtml(value); }
            get { return _picture_2; }
        }
        /// <summary>
        /// 图3
        /// </summary>
        public string Picture_3
        {
            set { _picture_3 = Base.Common.FilterHtml(value); }
            get { return _picture_3; }
        }
        /// <summary>
        /// 有效期开始时间
        /// </summary>
        public DateTime StartDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 有效期结束时间
        /// </summary>
        public DateTime EndDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand
        {
            set { _brand = Base.Common.FilterHtml(value); }
            get { return _brand; }
        }
        /// <summary>
        /// 型号
        /// </summary>
        public string Model
        {
            set { _model = Base.Common.FilterHtml(value); }
            get { return _model; }
        }
        /// <summary>
        /// 发布日期
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        /// <summary>
        /// 审核
        /// </summary>
        public int Verify
        {
            set { _verify = value; }
            get { return _verify; }
        }
        /// <summary>
        /// 推荐
        /// </summary>
        public bool Recommend
        {
            set { _recommend = value; }
            get { return _recommend; }
        }
        /// <summary>
        /// 预留字段
        /// </summary>
        public string Obligate
        {
            set { _obligate = Base.Common.FilterHtml(value); }
            get { return _obligate; }
        }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public int Count
        {
            set { _count = value; }
            get { return _count; }
        }
        /// <summary>
        /// 产品单价
        /// </summary>
        public Double Price
        {
            set { _price = value; }
            get { return _price; }
        }

        /// <summary>
        /// 缩略图
        /// </summary>
        public string Thumbnail
        {
            set { _thumbnail = Base.Common.FilterHtml(value); }
            get { return _thumbnail; }
        }
        #endregion Model

    }
}
